import { MenuType } from "../../Console/Menu/Menu";
import Download from "../Download/Download.vue";
import IndexContent from "../IndexContent.vue";
import Merchandise from "../Merchandise/Merchandise.vue";
import MerchandiseDetail from "../MerchandiseDetail/MerchandiseDetail.vue";
import News from "../News/News.vue";
import NewsDetail from "../News/NewsDetail.vue";
// import Compare from "../Price/Compare.vue";
import CompareVersion from "../Price/CompareVersion.vue";
import Price from "../Price/Price.vue";
import Promote from "../Promote/Promote.vue";
import PromoteDetail from "../Promote/PromoteDetail.vue";
import Query from "../Query/Query.vue";
import QueryResult from "../Query/QueryResult.vue";
import QueryResultSuccess from "../Query/QueryResultSuccess.vue";

export const indexMenuList: MenuType[] = [
    {
        label: "",
        name: "index",
        component: IndexContent
    },
    {
        label: "",
        name: "merchandise",
        component: Merchandise,
    },
    {
        label: "",
        name: 'merchandiseDetail',
        component: MerchandiseDetail,
        hidden: {
            alias: "merchandise"
        }
    },
    {
        label: "",
        name: 'promoteDetail',
        component: PromoteDetail,
        hidden: {
            alias: "promote"
        }
    },
    // {
    //     label: "",
    //     name: 'compare',
    //     component: Compare,
    //     hidden: {
    //         alias: "price"
    //     }
    // },
    {
        label: "",
        name: 'compareVersion',
        component: CompareVersion,
        hidden: {
            alias: "price"
        }
    },
    {
        label: "",
        name: "promote",
        component: Promote
    },
    {
        label: "",
        name: "price",
        component: Price
    },
    {
        label: "",
        name: "queryResult",
        hidden: {
            alias: "query"
        },
        component: QueryResult
    },
    {
        label: "",
        name: "queryResultSuccess",
        hidden: {
            alias: "query"
        },
        component: QueryResultSuccess
    },
    {
        label: "",
        name: "query",
        component: Query
    },
    {
        label: "",
        name: "news",
        component: News
    },
    {
        label: "",
        name: "newsDetail",
        hidden: {
            alias: "news"
        },
        component: NewsDetail
    },
    {
        label: "",
        name: "download",
        component: Download
    },

];